package agenda

object Main {
  def main(args: Array[String]): Unit = {
    var agenda: Agenda = new Agenda("Frans");
    var x = 0
    agenda.removeEntries({ () => x < 100 }, () => { x }, () => { x += 2 })

    val archive: Archive[DayEvent] = new Archive[DayEvent]();
    val event: DayEvent = new DayEvent(agenda, 3, "Verjaardag", false);
    archive.addEntry(event);
  }
}
